package com.gukun.springboot.tdengine.dto;

import java.util.Date;

public class WriteRulesDto {
    /**
     * 写入表数量
     */
    private Integer tableCount;
    /**
     * 起始表索引
     */
    private Integer index;
    /**
     * 线程数量
     */
    private Integer threadCount;
    /**
     * 模拟方式0-随机数
     */
    private Integer mockType;
    /**
     * 写入周期，单位秒
     */
    private Integer period;
    /**
     * 模拟周期
     */
    private Integer mnPeriod;

    /**
     * 周期类型 0-固定周期  1-随机周期
     */
    private Integer periodType;

    /**
     * 历史写入开始时间
     */
    private String startDatetime;

    /**
     * 历史写入结束时间
     */
    private String endDatetime;

    private CreateTableDto createTableDto;

    public Integer getTableCount() {
        return tableCount;
    }

    public void setTableCount(Integer tableCount) {
        this.tableCount = tableCount;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getThreadCount() {
        return threadCount;
    }

    public void setThreadCount(Integer threadCount) {
        this.threadCount = threadCount;
    }

    public Integer getMockType() {
        return mockType;
    }

    public void setMockType(Integer mockType) {
        this.mockType = mockType;
    }

    public Integer getPeriod() {
        return period;
    }

    public void setPeriod(Integer period) {
        this.period = period;
    }

    public CreateTableDto getCreateTableDto() {
        return createTableDto;
    }

    public void setCreateTableDto(CreateTableDto createTableDto) {
        this.createTableDto = createTableDto;
    }

    public String getStartDatetime() {
        return startDatetime;
    }

    public void setStartDatetime(String startDatetime) {
        this.startDatetime = startDatetime;
    }

    public String getEndDatetime() {
        return endDatetime;
    }

    public void setEndDatetime(String endDatetime) {
        this.endDatetime = endDatetime;
    }

    public Integer getMnPeriod() {
        return mnPeriod;
    }

    public void setMnPeriod(Integer mnPeriod) {
        this.mnPeriod = mnPeriod;
    }

    public Integer getPeriodType() {
        return periodType;
    }

    public void setPeriodType(Integer periodType) {
        this.periodType = periodType;
    }
}
